home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / src / exampleCode / GLX / buffer / README < prev   
Encoding:
Text File  |  1994-08-02  |  1.1 KB  |  31 lines

  1.  
  2.  --------------------------------------------------------------------------
  3.  Explanation of ~4Dgifts/toolbox/src/exampleCode/GLX/buffer mixed model dir
  4.  --------------------------------------------------------------------------
  5.  
  6.  
  7.     bufferglm demonstrates switching between single and double -buffer
  8.     mode in a motif-based mixed model program.
  9.  
  10.      left mouse  :  switch to single buffer
  11.      middle mouse:  switch to double buffer
  12.      right mouse :  animate to visualize the current buffer mode
  13.  
  14.      The program handles redraw and expose events.
  15.  
  16.  
  17.     bufferglx:  a GL-Xlib version of bufferglm.
  18.  
  19.  
  20.     P.S.  These programs can be modified to toggle between other 
  21.           glxConfigs (e.g overlays).
  22.  
  23.  
  24.     Be sure to also consult the ~4Dgifts/examples/GLX subtree for other
  25.     mixed model examples:  "gl-Xlib" houses unadulterated "stone knives and 
  26.     bearskins" GL-Xlib examples, and "glxwidget" is a subtree containing 
  27.     source for the GlxDraw and GlxMDraw widget (draws GL inside of an 
  28.     Xt-based program), as well as demos implementing these widgets in a
  29.     Motif and Athena widget context.
  30.  
  31.